package com.sc.nft.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sc.nft.entity.dto.PopupAnnouncementAdminAddDTO;
import com.sc.nft.entity.dto.PopupAnnouncementAdminModificationDTO;
import com.sc.nft.entity.vo.PopupAnnouncementAdminVO;
import com.sc.nft.sup.PageRequest;

/**
 * app维护以及维护完成的弹窗表(PopupAnnouncement)表服务接口
 *
 * @author wwc
 * @since 2023-07-05 16:58:05
 */
public interface PopupAnnouncementService {

    /**
     * 分页查询
     *
     * @param pageRequest
     * @return
     */
    IPage<PopupAnnouncementAdminVO> getPage(PageRequest pageRequest);

    /**
     * 根据id删除
     *
     * @param id
     */
    void removeById(Long id);

    /**
     * 修改
     *
     * @param popupAnnouncementAdminModificationDTO
     */
    void modification(PopupAnnouncementAdminModificationDTO popupAnnouncementAdminModificationDTO);

    /**
     * 新增
     *
     * @param popupAnnouncementAdminAddDTO
     */
    void add(PopupAnnouncementAdminAddDTO popupAnnouncementAdminAddDTO);


}
